Back to the Vavoom Forum Archives
mnk
Firebrand
mnk
Firebrand
mnk
/usr/bin/cmake: /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/bin/cmake)but I'm building 4.3.4, if cmake accepts it, I post the results, if it doesn't (I expect it won't), it'll be bit hard to do anything. Unless I'll get decent debugging tips here. PS.: as I expected that didn't help. I do wonder what the problem could be, firefox does work, as does doomsday (if only it had Strife module). X
mnk
Sys_Error: OPC_FDivide: Division by 0 - (uibase.FinaleScreen.OnCreate) - VObject::ExecuteFunction - (uibase.FinaleScreen.OnCreate) - VWidget::Init - VWidget::CreateNewWidget - (FinaleScreen) - VObject::ExecuteFunction - (cgame.ClientGame.RootWindowCreated) - Host_Init...
STACK TRACE: stack 0 0x82e0685 frame 0 0xbf838698 stack 1 0xb795ea66 frame 1 0xbf8386d8 stack 2 0x80bd281 frame 2 0xbf838748'OPC_FDivide:' part comes from my own tests - original message without it appears in a few other places, so I made those strings more distinct. It's source/pr_exec.cpp, line 1450.
mnk
... now properly implements value-initialization, so objects with an initializer of () and an implicitly defined default constructor will be zero-initialized before the default constructor is called.It seems the problem comes from here, cause if I add NO_DEFAULT_CONSTRUCTOR(VWidget) to class VWidget in source/ui_widget.h, it seems to fix the problem. Though, this may mean, that similar "fix" may be needed in other places too. BTW, forum insists on being dumb, for some reason, I can't put G + + (without spaces) in front of the above code block. I had this answer ready over a day ago, but only now I've found that this was what prevented me from posting (I kept getting "this web resource is forbidden" after pressing "submit").
Janis Legzdinsh